package com.zttek.videoShareProject.modules.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author CBY
 * @since 2018-07-03
 */
public class Keyword extends Model<Keyword> {

    private static final long serialVersionUID = 1L;

	@TableId(value="keyword_id", type= IdType.AUTO)
	private Long keywordId;
	private String keyword;
	@TableField("create_date")
	private Date createDate;


	public Long getKeywordId() {
		return keywordId;
	}

	public void setKeywordId(Long keywordId) {
		this.keywordId = keywordId;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.keywordId;
	}

	@Override
	public String toString() {
		return "Keyword{" +
			"keywordId=" + keywordId +
			", keyword=" + keyword +
			", createDate=" + createDate +
			"}";
	}
}
